/*----------------------------------------------------------------------------*/
/* Team 3647
/* Main.java
/*----------------------------------------------------------------------------*/
package edu.wpi.first.wpilibj.templates;

import edu.wpi.first.wpilibj.IterativeRobot;

public class Main extends IterativeRobot {

    public void robotInit() {
        Drivetrain.runCompessor();
        Shooter.shooterEncoder.start();
    }
    
    public void autonomousInit() {
        Auton.resetAuton();
    }
    
    public void autonomousPeriodic() {
        Auton.move();
        Auton.AutonProcess();
    }
    
    public void teleopPeriodic() {
        Drivetrain.TankCD(); 
        
        Shooter.RunShooter();
        
        Loader.LoaderRun();
        Loader.CollectorManipulate();
        
        Hanger.HangerRun();
        
        JoySticks.JoystickUpdate();
    }
}
